<div class="page-content">

    <section>
    	<div class="weui_cells_title">
    		<span class="fl">账单明细</span>
    		 <router-link  :to="{ name: 'billsRecords', params: { shop_id: shop_id }}"  class="fr green" style="color: #3CC51F">历史账单</router-link>
    		<div class="clear"></div>
    	</div>

	   <section class="errormsgDiv" v-if="nodata==1">
	    <p class="errormsg">\（￣︶￣）/</p>
	    <p class="errormsg2">暂无可缴费账单</p>
	  </section>
		 
    	<div class="weui_cells weui_cells_checkbox" v-else>
	        <label class="weui_cell weui_check_label"  v-for="item in bills_list" >
	            <div class="weui_cell_hd">
	                <input type="checkbox" class="weui_check" name="checkbox1"  @click="countPrice"  :data-bill_entry_id="item.id" :data-bill_entry_amount="item.amount">
	                <i class="weui_icon_checked"></i>
	            </div>
	            <div class="weui_cell_bd weui_cell_primary">
	            	  <div class="fl">
	            	  	 <p>支付 [{{item.provider_shop.name}}] 推广金 {{item.amount}} 元</p>
		                  <p class="light">订单号{{item.order_sn}} ，订单交易额￥{{item.order_amount}}，佣金比例{{item.commission}}</p>
		                  <p class="light">{{item.createtime}}</p>
		                 
	            	  </div>
	            	   <div >
	            	  	 <p class="s_left"><strong>{{item.amount}}</strong></p>
		                 <div class="s_right" v-if="item.status == 0" style="    color: #c00; margin-top: 5px">待支付</div> 
		                  <div class="clear"></div>
	            	  </div>
	            	 
	                  
	            </div>
	        </label>
	        
	    </div>
	    <div style="height: 80px"></div>
    </section>

      <!-- 支付 -->
  <section class="bottom-fixed"> 
  
    <div class="fl"> 
     	<div class="weui_cells_checkbox">
     		<label class="weui_cell weui_check_label" >
	            <div class="weui_cell_hd">
	                <input type="checkbox" class="weui_check" @click="selectAll" name="checkbox2" >
	                <i class="weui_icon_checked"></i>
	            </div>
	            <div class="weui_cell_bd weui_cell_primary">
	                <p>全选  合计：<strong  style=" color: #c00;">{{bill_amount}}</strong></p>
	            </div>
	        </label>
     	</div>
    </div> 
    
   
     <div class="fr">
       <div :class="bill_amount>0?'join-btn':'join-btn disable'" v-on:click="postOrder"> <div class="btn publish-btn">确认支付</div></div>
     </div>

 
  </section>
</div>